package kr.hkit.powerjava.chapter06;

import java.util.Scanner;

public class exercise07 {
	public static void main(String[] args) {
		
		int fruit;
		
		Scanner input = new Scanner (System.in);
		System.out.print("숫자입력 : ");
		fruit = input.nextInt();
		
		switch (fruit){
		case 1: System.out.println("사과");
			break;
		case 2: System.out.println("배");
			break;
		case 3: System.out.println("바나나");
			break;
		default : System.out.println("과일");
		}
	}
}
